package com.task.sql.schedule.mapper;

import com.task.sql.schedule.domain.entity.SqlContent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.task.sql.schedule.domain.qo.SqlContentQO;
import com.task.sql.schedule.domain.vo.SqlContentVO;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 1.  Mapper
 2.  3. @author donghai.liu
 4. @time 2024-09-10
 */
@Mapper
public interface SqlContentMapper extends BaseMapper<SqlContent> {

    /**
     * @desc 列表
     *
     * @param qo
     * @return java.util.List<com.task.sql.schedule.domain.vo.SqlContentVO>
     */
    List<SqlContentVO> listSqlContent(@Param("qo") SqlContentQO qo);

    /**
     * @desc 条数
     *
     * @param qo
     * @return int
     */
    int countSqlContent(@Param("qo") SqlContentQO qo);
}
